package com.wwwarehouse.resource_center.bean.rules;

import java.util.List;

/**
 * @author Joseph on 2017/9/4.
 *         <p/>
 *         查询详细规则
 */

public class TaskDetailedRule  {


    /**
     * allocateTactics : 按饱和度分配
     * allocateTacticsCode : TASK_SATURATION
     * belongBusinessUkid : 10001665
     * ruleName : uxhx
     * ruleUkid : 42137500000004005
     * rules : [{"conditionCode":"is_work","itemCode":"yes_work","itemName":"在岗","operator":"人","operatorCode":"HUMAN"}]
     * stockList : [{"stockName":"不像你下决心超级巨星","stockUkid":"22133900000002011"},{"stockName":"花花最美仓库1号","stockUkid":"22126200000002000"},{"stockName":"颜的大金库","stockUkid":"22136700000325723"},{"stockName":"我的大仓库","stockUkid":"22133200000002010"}]
     * taskMaxNum : 1
     * taskTypes : [{"acitonType":"C","acitonUnitDesc":"供货信息","acitonUnitName":"导入供货信息","acitonUnitType":"IMPORT_RS_SALE","acitonUnitUkid":"52021102524657162"}]
     */

    private String allocateTactics;
    private String allocateTacticsCode;
    private String belongBusinessUkid;
    private String ruleName;
    private String ruleUkid;
    private int taskMaxNum;
    private List<RulesBean> rules;
    private List<StockListBean> stockList;
    private List<TaskTypesBean> taskTypes;

    public String getAllocateTactics() {
        return allocateTactics;
    }

    public void setAllocateTactics(String allocateTactics) {
        this.allocateTactics = allocateTactics;
    }

    public String getAllocateTacticsCode() {
        return allocateTacticsCode;
    }

    public void setAllocateTacticsCode(String allocateTacticsCode) {
        this.allocateTacticsCode = allocateTacticsCode;
    }

    public String getBelongBusinessUkid() {
        return belongBusinessUkid;
    }

    public void setBelongBusinessUkid(String belongBusinessUkid) {
        this.belongBusinessUkid = belongBusinessUkid;
    }

    public String getRuleName() {
        return ruleName;
    }

    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    public String getRuleUkid() {
        return ruleUkid;
    }

    public void setRuleUkid(String ruleUkid) {
        this.ruleUkid = ruleUkid;
    }

    public int getTaskMaxNum() {
        return taskMaxNum;
    }

    public void setTaskMaxNum(int taskMaxNum) {
        this.taskMaxNum = taskMaxNum;
    }

    public List<RulesBean> getRules() {
        return rules;
    }

    public void setRules(List<RulesBean> rules) {
        this.rules = rules;
    }

    public List<StockListBean> getStockList() {
        return stockList;
    }

    public void setStockList(List<StockListBean> stockList) {
        this.stockList = stockList;
    }

    public List<TaskTypesBean> getTaskTypes() {
        return taskTypes;
    }

    public void setTaskTypes(List<TaskTypesBean> taskTypes) {
        this.taskTypes = taskTypes;
    }

    public static class RulesBean {
        /**
         * conditionCode : is_work
         * itemCode : yes_work
         * itemName : 在岗
         * operator : 人
         * operatorCode : HUMAN
         */

        private String conditionCode="";
        private String itemCode="";
        private String itemName="";
        private String operator="";
        private String operatorCode="";

        public String getConditionCode() {
            return conditionCode;
        }

        public void setConditionCode(String conditionCode) {
            this.conditionCode = conditionCode;
        }

        public String getItemCode() {
            return itemCode;
        }

        public void setItemCode(String itemCode) {
            this.itemCode = itemCode;
        }

        public String getItemName() {
            return itemName;
        }

        public void setItemName(String itemName) {
            this.itemName = itemName;
        }

        public String getOperator() {
            return operator;
        }

        public void setOperator(String operator) {
            this.operator = operator;
        }

        public String getOperatorCode() {
            return operatorCode;
        }

        public void setOperatorCode(String operatorCode) {
            this.operatorCode = operatorCode;
        }
    }

    public static class StockListBean {
        /**
         * stockName : 不像你下决心超级巨星
         * stockUkid : 22133900000002011
         */

        private String stockName;
        private String stockUkid;

        public String getStockName() {
            return stockName;
        }

        public void setStockName(String stockName) {
            this.stockName = stockName;
        }

        public String getStockUkid() {
            return stockUkid;
        }

        public void setStockUkid(String stockUkid) {
            this.stockUkid = stockUkid;
        }
    }

    public static class TaskTypesBean {
        /**
         * acitonType : C
         * acitonUnitDesc : 供货信息
         * acitonUnitName : 导入供货信息
         * acitonUnitType : IMPORT_RS_SALE
         * acitonUnitUkid : 52021102524657162
         */

        private String acitonType;
        private String acitonUnitDesc;
        private String acitonUnitName;
        private String acitonUnitType;
        private String acitonUnitUkid;

        public String getAcitonType() {
            return acitonType;
        }

        public void setAcitonType(String acitonType) {
            this.acitonType = acitonType;
        }

        public String getAcitonUnitDesc() {
            return acitonUnitDesc;
        }

        public void setAcitonUnitDesc(String acitonUnitDesc) {
            this.acitonUnitDesc = acitonUnitDesc;
        }

        public String getAcitonUnitName() {
            return acitonUnitName;
        }

        public void setAcitonUnitName(String acitonUnitName) {
            this.acitonUnitName = acitonUnitName;
        }

        public String getAcitonUnitType() {
            return acitonUnitType;
        }

        public void setAcitonUnitType(String acitonUnitType) {
            this.acitonUnitType = acitonUnitType;
        }

        public String getAcitonUnitUkid() {
            return acitonUnitUkid;
        }

        public void setAcitonUnitUkid(String acitonUnitUkid) {
            this.acitonUnitUkid = acitonUnitUkid;
        }
    }
}

